home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-02-25 | 2.0 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Fri Feb 25 05:00:00 2000, modified Fri Feb 25 05:00:00 2000, creator 'CWIE', type ASCII, 1528 bytes "WELongCoords.c" , at 0x678 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 57 45 4c 6f 6e 67 | 43 6f 6f 72 64 73 2e 63 |..WELong|Coords.c|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 05 f8 00 | 00 01 1e b4 dc 03 20 b4 |........|...... .|
|00000060| dc 03 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.. .....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7e b6 00 00 |........|....~...|
|00000080| 2f 2a 0d 20 2a 09 57 45 | 4c 6f 6e 67 43 6f 6f 72 |/*. *.WE|LongCoor|
|00000090| 64 73 2e 63 0d 20 2a 0d | 20 2a 09 57 41 53 54 45 |ds.c. *.| *.WASTE|
|000000a0| 20 50 52 4f 4a 45 43 54 | 0d 20 2a 20 20 4c 6f 6e | PROJECT|. * Lon|
|000000b0| 67 20 43 6f 6f 72 64 69 | 6e 61 74 65 73 0d 20 2a |g Coordi|nates. *|
|000000c0| 0d 20 2a 20 20 43 6f 70 | 79 72 69 67 68 74 20 28 |. * Cop|yright (|
|000000d0| 63 29 20 31 39 39 33 2d | 31 39 39 38 20 4d 61 72 |c) 1993-|1998 Mar|
|000000e0| 63 6f 20 50 69 6f 76 61 | 6e 65 6c 6c 69 0d 20 2a |co Piova|nelli. *|
|000000f0| 09 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 |.All Rig|hts Rese|
|00000100| 72 76 65 64 0d 20 2a 0d | 20 2a 20 20 43 20 70 6f |rved. *.| * C po|
|00000110| 72 74 20 62 79 20 44 61 | 6e 20 43 72 65 76 69 65 |rt by Da|n Crevie|
|00000120| 72 0d 20 2a 0d 20 2a 2f | 0d 0d 0d 23 69 6e 63 6c |r. *. */|...#incl|
|00000130| 75 64 65 20 22 57 41 53 | 54 45 49 6e 74 66 2e 68 |ude "WAS|TEIntf.h|
|00000140| 22 0d 0d 65 6e 75 6d 0d | 7b 0d 09 6b 51 44 4d 69 |"..enum.|{..kQDMi|
|00000150| 6e 20 3d 20 2d 33 32 37 | 36 37 4c 2c 0d 09 6b 51 |n = -327|67L,..kQ|
|00000160| 44 4d 61 78 20 3d 20 2b | 33 32 37 36 37 4c 0d 7d |DMax = +|32767L.}|
|00000170| 3b 0d 0d 70 61 73 63 61 | 6c 20 53 49 6e 74 33 32 |;..pasca|l SInt32|
|00000180| 20 5f 57 45 50 69 6e 49 | 6e 52 61 6e 67 65 28 53 | _WEPinI|nRange(S|
|00000190| 49 6e 74 33 32 20 76 61 | 6c 75 65 2c 20 53 49 6e |Int32 va|lue, SIn|
|000001a0| 74 33 32 20 72 61 6e 67 | 65 53 74 61 72 74 2c 20 |t32 rang|eStart, |
|000001b0| 53 49 6e 74 33 32 20 72 | 61 6e 67 65 45 6e 64 29 |SInt32 r|angeEnd)|
|000001c0| 0d 7b 0d 09 72 65 74 75 | 72 6e 20 28 28 76 61 6c |.{..retu|rn ((val|
|000001d0| 75 65 20 3e 20 72 61 6e | 67 65 45 6e 64 29 20 3f |ue > ran|geEnd) ?|
|000001e0| 20 72 61 6e 67 65 45 6e | 64 20 3a 20 28 28 76 61 | rangeEn|d : ((va|
|000001f0| 6c 75 65 20 3c 20 72 61 | 6e 67 65 53 74 61 72 74 |lue < ra|ngeStart|
|00000200| 29 20 3f 20 72 61 6e 67 | 65 53 74 61 72 74 20 3a |) ? rang|eStart :|
|00000210| 20 76 61 6c 75 65 29 29 | 3b 0d 7d 0d 0d 70 61 73 | value))|;.}..pas|
|00000220| 63 61 6c 20 76 6f 69 64 | 20 57 45 4c 6f 6e 67 50 |cal void| WELongP|
|00000230| 6f 69 6e 74 54 6f 50 6f | 69 6e 74 28 63 6f 6e 73 |ointToPo|int(cons|
|00000240| 74 20 4c 6f 6e 67 50 74 | 20 2a 6c 70 2c 20 50 6f |t LongPt| *lp, Po|
|00000250| 69 6e 74 20 2a 70 29 0d | 7b 0d 09 70 2d 3e 76 20 |int *p).|{..p->v |
|00000260| 3d 20 5f 57 45 50 69 6e | 49 6e 52 61 6e 67 65 28 |= _WEPin|InRange(|
|00000270| 6c 70 2d 3e 76 2c 20 6b | 51 44 4d 69 6e 2c 20 6b |lp->v, k|QDMin, k|
|00000280| 51 44 4d 61 78 29 3b 0d | 09 70 2d 3e 68 20 3d 20 |QDMax);.|.p->h = |
|00000290| 5f 57 45 50 69 6e 49 6e | 52 61 6e 67 65 28 6c 70 |_WEPinIn|Range(lp|
|000002a0| 2d 3e 68 2c 20 6b 51 44 | 4d 69 6e 2c 20 6b 51 44 |->h, kQD|Min, kQD|
|000002b0| 4d 61 78 29 3b 0d 7d 0d | 0d 70 61 73 63 61 6c 20 |Max);.}.|.pascal |
|000002c0| 76 6f 69 64 20 57 45 50 | 6f 69 6e 74 54 6f 4c 6f |void WEP|ointToLo|
|000002d0| 6e 67 50 6f 69 6e 74 28 | 50 6f 69 6e 74 20 70 2c |ngPoint(|Point p,|
|000002e0| 20 4c 6f 6e 67 50 74 20 | 2a 6c 70 29 0d 7b 0d 09 | LongPt |*lp).{..|
|000002f0| 6c 70 2d 3e 76 20 3d 20 | 70 2e 76 3b 0d 09 6c 70 |lp->v = |p.v;..lp|
|00000300| 2d 3e 68 20 3d 20 70 2e | 68 3b 0d 7d 0d 0d 70 61 |->h = p.|h;.}..pa|
|00000310| 73 63 61 6c 20 76 6f 69 | 64 20 57 45 53 65 74 4c |scal voi|d WESetL|
|00000320| 6f 6e 67 52 65 63 74 28 | 4c 6f 6e 67 52 65 63 74 |ongRect(|LongRect|
|00000330| 20 2a 6c 72 2c 20 53 49 | 6e 74 33 32 20 6c 65 66 | *lr, SI|nt32 lef|
|00000340| 74 2c 20 53 49 6e 74 33 | 32 20 74 6f 70 2c 20 53 |t, SInt3|2 top, S|
|00000350| 49 6e 74 33 32 20 72 69 | 67 68 74 2c 20 53 49 6e |Int32 ri|ght, SIn|
|00000360| 74 33 32 20 62 6f 74 74 | 6f 6d 29 0d 7b 0d 09 6c |t32 bott|om).{..l|
|00000370| 72 2d 3e 74 6f 70 20 20 | 20 20 3d 20 74 6f 70 3b |r->top | = top;|
|00000380| 0d 09 6c 72 2d 3e 6c 65 | 66 74 20 20 20 3d 20 6c |..lr->le|ft = l|
|00000390| 65 66 74 3b 0d 09 6c 72 | 2d 3e 62 6f 74 74 6f 6d |eft;..lr|->bottom|
|000003a0| 20 3d 20 62 6f 74 74 6f | 6d 3b 0d 09 6c 72 2d 3e | = botto|m;..lr->|
|000003b0| 72 69 67 68 74 20 20 3d | 20 72 69 67 68 74 3b 0d |right =| right;.|
|000003c0| 7d 0d 0d 70 61 73 63 61 | 6c 20 76 6f 69 64 20 57 |}..pasca|l void W|
|000003d0| 45 4c 6f 6e 67 52 65 63 | 74 54 6f 52 65 63 74 28 |ELongRec|tToRect(|
|000003e0| 63 6f 6e 73 74 20 4c 6f | 6e 67 52 65 63 74 20 2a |const Lo|ngRect *|
|000003f0| 6c 72 2c 20 52 65 63 74 | 20 2a 72 29 0d 7b 0d 09 |lr, Rect| *r).{..|
|00000400| 57 45 4c 6f 6e 67 50 6f | 69 6e 74 54 6f 50 6f 69 |WELongPo|intToPoi|
|00000410| 6e 74 28 28 63 6f 6e 73 | 74 20 4c 6f 6e 67 50 74 |nt((cons|t LongPt|
|00000420| 20 2a 29 20 6c 72 2c 20 | 28 50 6f 69 6e 74 20 2a | *) lr, |(Point *|
|00000430| 29 20 72 29 3b 0d 09 57 | 45 4c 6f 6e 67 50 6f 69 |) r);..W|ELongPoi|
|00000440| 6e 74 54 6f 50 6f 69 6e | 74 28 28 63 6f 6e 73 74 |ntToPoin|t((const|
|00000450| 20 4c 6f 6e 67 50 74 20 | 2a 29 20 6c 72 20 2b 20 | LongPt |*) lr + |
|00000460| 31 2c 20 28 50 6f 69 6e | 74 20 2a 29 20 72 20 2b |1, (Poin|t *) r +|
|00000470| 20 31 29 3b 0d 7d 0d 0d | 70 61 73 63 61 6c 20 76 | 1);.}..|pascal v|
|00000480| 6f 69 64 20 57 45 52 65 | 63 74 54 6f 4c 6f 6e 67 |oid WERe|ctToLong|
|00000490| 52 65 63 74 28 63 6f 6e | 73 74 20 52 65 63 74 20 |Rect(con|st Rect |
|000004a0| 2a 72 2c 20 4c 6f 6e 67 | 52 65 63 74 20 2a 6c 72 |*r, Long|Rect *lr|
|000004b0| 29 0d 7b 0d 09 6c 72 2d | 3e 74 6f 70 20 20 20 20 |).{..lr-|>top |
|000004c0| 3d 20 72 2d 3e 74 6f 70 | 3b 0d 09 6c 72 2d 3e 6c |= r->top|;..lr->l|
|000004d0| 65 66 74 20 20 20 3d 20 | 72 2d 3e 6c 65 66 74 3b |eft = |r->left;|
|000004e0| 0d 09 6c 72 2d 3e 62 6f | 74 74 6f 6d 20 3d 20 72 |..lr->bo|ttom = r|
|000004f0| 2d 3e 62 6f 74 74 6f 6d | 3b 0d 09 6c 72 2d 3e 72 |->bottom|;..lr->r|
|00000500| 69 67 68 74 20 20 3d 20 | 72 2d 3e 72 69 67 68 74 |ight = |r->right|
|00000510| 3b 0d 7d 0d 0d 70 61 73 | 63 61 6c 20 76 6f 69 64 |;.}..pas|cal void|
|00000520| 20 57 45 4f 66 66 73 65 | 74 4c 6f 6e 67 52 65 63 | WEOffse|tLongRec|
|00000530| 74 28 4c 6f 6e 67 52 65 | 63 74 20 2a 6c 72 2c 20 |t(LongRe|ct *lr, |
|00000540| 53 49 6e 74 33 32 20 68 | 4f 66 66 73 65 74 2c 20 |SInt32 h|Offset, |
|00000550| 53 49 6e 74 33 32 20 76 | 4f 66 66 73 65 74 29 0d |SInt32 v|Offset).|
|00000560| 7b 0d 09 6c 72 2d 3e 74 | 6f 70 20 20 20 20 2b 3d |{..lr->t|op +=|
|00000570| 20 76 4f 66 66 73 65 74 | 3b 0d 09 6c 72 2d 3e 6c | vOffset|;..lr->l|
|00000580| 65 66 74 20 20 20 2b 3d | 20 68 4f 66 66 73 65 74 |eft +=| hOffset|
|00000590| 3b 0d 09 6c 72 2d 3e 62 | 6f 74 74 6f 6d 20 2b 3d |;..lr->b|ottom +=|
|000005a0| 20 76 4f 66 66 73 65 74 | 3b 0d 09 6c 72 2d 3e 72 | vOffset|;..lr->r|
|000005b0| 69 67 68 74 20 20 2b 3d | 20 68 4f 66 66 73 65 74 |ight +=| hOffset|
|000005c0| 3b 0d 7d 0d 0d 70 61 73 | 63 61 6c 20 42 6f 6f 6c |;.}..pas|cal Bool|
|000005d0| 65 61 6e 20 57 45 4c 6f | 6e 67 50 6f 69 6e 74 49 |ean WELo|ngPointI|
|000005e0| 6e 4c 6f 6e 67 52 65 63 | 74 28 63 6f 6e 73 74 20 |nLongRec|t(const |
|000005f0| 4c 6f 6e 67 50 74 20 2a | 6c 70 2c 20 63 6f 6e 73 |LongPt *|lp, cons|
|00000600| 74 20 4c 6f 6e 67 52 65 | 63 74 20 2a 6c 72 29 0d |t LongRe|ct *lr).|
|00000610| 7b 0d 09 72 65 74 75 72 | 6e 20 28 28 6c 70 2d 3e |{..retur|n ((lp->|
|00000620| 76 20 3e 3d 20 6c 72 2d | 3e 74 6f 70 29 20 26 26 |v >= lr-|>top) &&|
|00000630| 20 28 6c 70 2d 3e 68 20 | 3e 3d 20 6c 72 2d 3e 6c | (lp->h |>= lr->l|
|00000640| 65 66 74 29 20 26 26 20 | 28 6c 70 2d 3e 76 20 3c |eft) && |(lp->v <|
|00000650| 20 6c 72 2d 3e 62 6f 74 | 74 6f 6d 29 20 26 26 20 | lr->bot|tom) && |
|00000660| 28 6c 70 2d 3e 68 20 3c | 20 6c 72 2d 3e 72 69 67 |(lp->h <| lr->rig|
|00000670| 68 74 29 29 3b 0d 7d 0d | 00 00 00 00 00 00 00 00 |ht));.}.|........|
|00000680| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 04 00 |........|........|
|000006b0| 0e 57 45 4c 6f 6e 67 43 | 6f 6f 72 64 73 2e 63 73 |.WELongC|oords.cs|
|000006c0| 20 44 42 2e 63 63 74 73 | 32 70 65 72 6f 6d 6c 6d | DB.ccts|2peromlm|
|000006d0| 02 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 aa 4e dd 67 00 00 | 05 f8 00 00 01 ac 00 00 |...N.g..|........|
|00000700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000790| 07 9f d0 a4 02 ee 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+